Entity ScenarySpawn
ScenarySpawn (sic) is the Entity definition for a scenery spawner.
Subclass of Entity.
Functions
GetSpeed () | GetSpeed returns the speed of the spawned entities. |
GetFrequency () | GetFrequency returns the frequency of spawning an object. |
GetMaxSpawn () | GetMaxSpawn returns the maximum number of spawned objects. |
GetSpawnSprite () | GetSpawnSprite returns the name of the sprite this spawn generates. |
Functions
- GetSpeed ()
-
GetSpeed returns the speed of the spawned entities.
Returns:
-
A numeric value indicating the spawned object speed.
- GetFrequency ()
-
GetFrequency returns the frequency of spawning an object.
Returns:
-
A numeric value indicating the spawn frequency.
- GetMaxSpawn ()
-
GetMaxSpawn returns the maximum number of spawned objects.
Returns:
-
An integer indicating the maximum spawned objects.
- GetSpawnSprite ()
-
GetSpawnSprite returns the name of the sprite this spawn generates.
Returns:
-
An integer indicating the sprite file name.